package thinkingInJava.arrays;

import java.util.*;
import static thinkingInJava.YTool.YPrint.*;

class A {}

public class DeepEqual {
	public static void main(String[] args) {
		int[][][] a1 = new int[4][3][2];
		int[][][] a2 = new int[4][3][2];
		println(Arrays.deepToString(a1));
		println(Arrays.deepEquals(a1, a2));
		A[][][] aa1 = new A[4][3][2];
		A[][][] aa2 = new A[4][3][2];
		println(Arrays.deepToString(aa1));
		println(Arrays.deepEquals(aa1, aa2));
		println(Arrays.deepEquals(a1, aa1));	
	}
}
